package com.cloud.boot.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.boot.user.model.entity.SysUserRoleDO;
import com.cloud.boot.user.model.vo.RoleRefListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lhd
 */
@Mapper
public interface SysUerRoleMapper extends BaseMapper<SysUserRoleDO> {

    List<RoleRefListVO> getRoleListByUserId(@Param("userId") Long userId);
}
